﻿using SmartSpace.Web;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SmartSpace.Template.Prototype
{
    public class PrototypeTemplate : ISiteTemplate
    {
        private IMainPanel _mainPanel;

        public IMainPanel GetMainPanel(System.Web.UI.Page page)
        {
            if (_mainPanel == null)
            {
                _mainPanel = page.LoadControl("~/_templates/_site/prototype/MainPanel.ascx") as IMainPanel;
            }

            return _mainPanel;
        }

        public Guid Id
        {
            get { return new Guid("{C68440F0-7CFB-4592-88F5-607AF44EC81A}"); }
        }

        public string Name
        {
            get { return "SmartSpace.Template.Prototype"; }
        }

        public string Caption
        {
            get { return "原型站点模板"; }
        }
    }
}